package com.wgo.surveyModel.domain.common.impl;

import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
import java.util.Date;

import java.util.Set;

import com.wgo.surveyModel.domain.common.*;

public class HydrophoneImpl extends SensorImpl implements Hydrophone
{
	private Integer filter;
	private StreamerSection section;

	public HydrophoneImpl(){
		super();
   
	}
	public StreamerSection getSection ()
	{
		return section;
	}

	public void setSection(StreamerSection section)
	{	
	     if( null != section)
	     { 	
		    this.section = section;
         	
		   //section.addHydrophone(this);
		 }
		 else if( null != this.section)
		 {
		    this.section.removeHydrophone(this);	
		    this.section = null;		      
		 }
		     	
	}

	public Integer getFilter ()
	{
		return filter;
	}

	public void setFilter(Integer filter)
	{	  	
		this.filter = filter;		
	}

}
